package com.wx.tgp.designpattern.prototypePattern.deepPrototype;

/**
 * Created by Administrator on 2016/10/9.
 */
public class WorkDate implements Cloneable {

    public String workDate;
    public WorkDate(){}

    public String getWorkDate() {
        return workDate;
    }

    public void setWorkDate(String workDate) {
        this.workDate = workDate;
    }

    public WorkDate Clone(){
        try{
            WorkDate workDate = (WorkDate)super.clone();
            return workDate;
        }catch (Exception e){
            e.printStackTrace();
        }
        return null;
    }
}
